﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="fanli_users.aspx.cs" Inherits="Web.myadmin.fanli_users" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"> 
<head id="Head1" runat="server">
    <title>会员管理 - 后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
<script src="js/function.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
<div id="right">
<!-- 头部开始 -->
<div class="right-title">返利网管理后台>会员管理</div>
<div class="con-title">
    <img src="image/icon01.gif" width="23" height="26" style="padding:2px 0 0 15px; float:left" />
    <span class="con-txt">会员管理</span>
</div>
<!-- 头部开始 -->

<!-- 查询开始 -->
<div class="toptab" id="divQuery" runat="server">
<div class="tabcontent">
             <div class="span">id：</div><div class="span"><asp:TextBox ID="txtQryId" runat="server"  CssClass="clsInput" ></asp:TextBox></div>
             <div class="span">用户名：</div><div class="span"><asp:TextBox ID="txtQryUsername" runat="server"  CssClass="clsInput" ></asp:TextBox></div>
             <%--<div class="span">密码：</div><div class="span"><asp:TextBox ID="txtQryPassword" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">邮箱：</div><div class="span"><asp:TextBox ID="txtQryEmail" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">注册时间：</div><div class="span"><asp:TextBox ID="txtQryRegdate" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">登录次数：</div><div class="span"><asp:TextBox ID="txtQryLognum" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">注册ip：</div><div class="span"><asp:TextBox ID="txtQryRegip" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">最后一次登录时间：</div><div class="span"><asp:TextBox ID="txtQryLastlogtime" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">最后一次登录ip：</div><div class="span"><asp:TextBox ID="txtQryLastlogip" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">真实姓名：</div><div class="span"><asp:TextBox ID="txtQryRealname" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">电话：</div><div class="span"><asp:TextBox ID="txtQryTelephone" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">手机：</div><div class="span"><asp:TextBox ID="txtQryMobailePhone" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">qq：</div><div class="span"><asp:TextBox ID="txtQryQq" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">密码问题：</div><div class="span"><asp:TextBox ID="txtQryPassquestion" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">密码答案：</div><div class="span"><asp:TextBox ID="txtQryPassanswer" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">用户状态：</div><div class="span"><asp:TextBox ID="txtQryStatus" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">上线id：</div><div class="span"><asp:TextBox ID="txtQryAskjoinID" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">等级：</div><div class="span"><asp:TextBox ID="txtQryLevel" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">积分：</div><div class="span"><asp:TextBox ID="txtQryScore" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">余额：</div><div class="span"><asp:TextBox ID="txtQryMoney" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">是否vip：</div><div class="span"><asp:TextBox ID="txtQryIsVip" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">扩展1：</div><div class="span"><asp:TextBox ID="txtQryExt1" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">扩展2：</div><div class="span"><asp:TextBox ID="txtQryExt2" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">扩展3：</div><div class="span"><asp:TextBox ID="txtQryExt3" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">扩展4：</div><div class="span"><asp:TextBox ID="txtQryExt4" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <div class="span"><asp:Button ID="btnQuery"  CssClass="btnQuery" runat="server" Text=" 查询 "  OnClick="btnQuery_Click" /></div>
</div>
</div>
<!-- 查询结束 -->

<!-- 列表内容开始 -->
<div class="tab"  id="divList" runat="server">
<!-- 错误提示开始 -->
<div id="DivPromptMessage" runat="server">
    <asp:Literal ID="litPromptMessage" runat="server"></asp:Literal>
</div>
<!-- 错误提示结束 --> 

<!-- 信息列表开始 -->
     <asp:Repeater runat="server" ID="rptInfoList">
        <HeaderTemplate>
           <table  cellpadding="0" cellspacing="0" class="atab">
             <tr> 
	              <th>编号 </th>
	              <th>用户名</th>
	              <th>密码</th>
	              <th>邮箱</th>
	              <%--<th>注册时间</th>--%>
	              <%--<th>登录次数</th>--%>
	              <%--<th>注册ip</th>--%>
	              <%--<th>最后一次登录时间</th>--%>
	              <%--<th>最后一次登录ip</th>--%>
	              <%--<th>真实姓名</th>--%>
	              <%--<th>电话</th>--%>
	              <%--<th>手机</th>--%>
	              <%--<th>qq</th>--%>
	              <%--<th>密码问题</th>--%>
	              <%--<th>密码答案</th>--%>
	              <%--<th>用户状态</th>--%>
	              <%--<th>上线id</th>--%>
	              <%--<th>等级</th>--%>
	              <%--<th>积分</th>--%>
	              <%--<th>余额</th>--%>
	              <%--<th>是否vip</th>--%>
	              <%--<th>扩展1</th>--%>
	              <%--<th>扩展2</th>--%>
	              <%--<th>扩展3</th>--%>
	              <%--<th>扩展4</th>--%>
	              <th>操作</th>
             </tr>
          </HeaderTemplate>
          <ItemTemplate>
               <tr onmouseover="this.bgColor='#8CBDE7'" onmouseout="this.bgColor='#ffffff'"> 
	              <td><%# Eval("id") %></td>
	              <td><%# Eval("username")%></td>
	              <td><%# Eval("password")%></td>
	              <td><%# Eval("email")%></td>
	              <%--<td><%# Eval("regdate")%></td>--%>
	              <%--<td><%# Eval("lognum")%></td>--%>
	              <%--<td><%# Eval("regip")%></td>--%>
	              <%--<td><%# Eval("lastlogtime")%></td>--%>
	              <%--<td><%# Eval("lastlogip")%></td>--%>
	              <%--<td><%# Eval("realname")%></td>--%>
	              <%--<td><%# Eval("telephone")%></td>--%>
	              <%--<td><%# Eval("mobailePhone")%></td>--%>
	              <%--<td><%# Eval("qq")%></td>--%>
	              <%--<td><%# Eval("passquestion")%></td>--%>
	              <%--<td><%# Eval("passanswer")%></td>--%>
	              <%--<td><%# Eval("status")%></td>--%>
	              <%--<td><%# Eval("askjoinID")%></td>--%>
	              <%--<td><%# Eval("level")%></td>--%>
	              <%--<td><%# Eval("score")%></td>--%>
	              <%--<td><%# Eval("money")%></td>--%>
	              <%--<td><%# Eval("isVip")%></td>--%>
	              <%--<td><%# Eval("ext1")%></td>--%>
	              <%--<td><%# Eval("ext2")%></td>--%>
	              <%--<td><%# Eval("ext3")%></td>--%>
	              <%--<td><%# Eval("ext4")%></td>--%>
	              <td>	
	                  <a href="?cmd=view&id=<%# Eval("id") %>" class="linkView" onclick="return openWin(this.href);">查看</a>&nbsp;
	                   <a href="?cmd=edit&id=<%# Eval("id") %>" class="linkEdit" onclick="return openWin(this.href);">修改</a>&nbsp;
	                   <a href="?cmd=delete&id=<%# Eval("id") %>" onclick="return confirm('确定是要删除该记录吗？')" class="linkDelete">删除</a>
	              </td>
                </tr>
        </ItemTemplate>
        <FooterTemplate>
           </table>
        </FooterTemplate>
    </asp:Repeater>

<!-- 信息列表结束 -->

<!-- 分页开始 -->
<div class="content" id="divPager" runat="server">
    <div class="page"><asp:Literal ID="litPager" runat="server" ></asp:Literal></div>
</div>
<!-- 分页结束 -->
</div>
<!-- 列表内容结束 -->


<!-- 表单开始 -->
<div class="tab" runat="server" id="divForm">
  <table cellpadding="0" cellspacing="0" class="btab">
	<tr> 
		<td  colspan="2" class="thead">  <asp:Label ID="lblFormTitle" runat="server" Text="修改"></asp:Label></td>
	</tr>
	<tr> 
		<th>用户名：</th>
		<td>  
            <asp:TextBox ID="txtUsername" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>密码：</th>
		<td>  
            <asp:TextBox ID="txtPassword" runat="server"  CssClass="clsInput"  TextMode="Password"  ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>邮箱：</th>
		<td>  
            <asp:TextBox ID="txtEmail" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>注册时间：</th>
		<td>  
            <asp:TextBox ID="txtRegdate" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>登录次数：</th>
		<td>  
            <asp:TextBox ID="txtLognum" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>注册ip：</th>
		<td>  
            <asp:TextBox ID="txtRegip" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>最后一次登录时间：</th>
		<td>  
            <asp:TextBox ID="txtLastlogtime" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>最后一次登录ip：</th>
		<td>  
            <asp:TextBox ID="txtLastlogip" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>真实姓名：</th>
		<td>  
            <asp:TextBox ID="txtRealname" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>电话：</th>
		<td>  
            <asp:TextBox ID="txtTelephone" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>手机：</th>
		<td>  
            <asp:TextBox ID="txtMobailePhone" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>qq：</th>
		<td>  
            <asp:TextBox ID="txtQq" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>密码问题：</th>
		<td>  
            <asp:TextBox ID="txtPassquestion" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>密码答案：</th>
		<td>  
            <asp:TextBox ID="txtPassanswer" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>用户状态：</th>
		<td>  
            <asp:TextBox ID="txtStatus" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>上线id：</th>
		<td>  
            <asp:TextBox ID="txtAskjoinID" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>等级：</th>
		<td>  
            <asp:TextBox ID="txtLevel" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>积分：</th>
		<td>  
            <asp:TextBox ID="txtScore" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>余额：</th>
		<td>  
            <asp:TextBox ID="txtMoney" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>是否vip：</th>
		<td>  
            <asp:TextBox ID="txtIsVip" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>扩展1：</th>
		<td>  
            <asp:TextBox ID="txtExt1" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>扩展2：</th>
		<td>  
            <asp:TextBox ID="txtExt2" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>扩展3：</th>
		<td>  
            <asp:TextBox ID="txtExt3" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>扩展4：</th>
		<td>  
            <asp:TextBox ID="txtExt4" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td colspan="2" align="center" style="font-size: 30px;">
         <asp:Button ID="btnSumit"  CssClass="btnSumit" runat="server" Text=" 发布 "  OnClick="btnSumit_Click" />
		<input class="btnCancel" type="reset" value=" 取消 " />
		<asp:TextBox ID="txtId" runat="server" style="display:none" Text="0"></asp:TextBox></td>
	</tr>
</table>
</div>
<!-- 表单结束 -->


<!-- 查看开始 -->
<div class="tab"  runat="server" id="divView">
  <table  cellpadding="0" cellspacing="0" class="btab">
	<tr> 
		<td colspan="2" class="thead">  <asp:Label ID="lblViewTitle" runat="server" Text="查看"></asp:Label></td>
	</tr>
	<tr> 
		<th>用户名：</th>
		<td>  
            <asp:Label ID="lblUsername" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>密码：</th>
		<td>  
            <asp:Label ID="lblPassword" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>邮箱：</th>
		<td>  
            <asp:Label ID="lblEmail" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>注册时间：</th>
		<td>  
            <asp:Label ID="lblRegdate" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>登录次数：</th>
		<td>  
            <asp:Label ID="lblLognum" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>注册ip：</th>
		<td>  
            <asp:Label ID="lblRegip" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>最后一次登录时间：</th>
		<td>  
            <asp:Label ID="lblLastlogtime" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>最后一次登录ip：</th>
		<td>  
            <asp:Label ID="lblLastlogip" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>真实姓名：</th>
		<td>  
            <asp:Label ID="lblRealname" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>电话：</th>
		<td>  
            <asp:Label ID="lblTelephone" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>手机：</th>
		<td>  
            <asp:Label ID="lblMobailePhone" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>qq：</th>
		<td>  
            <asp:Label ID="lblQq" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>密码问题：</th>
		<td>  
            <asp:Label ID="lblPassquestion" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>密码答案：</th>
		<td>  
            <asp:Label ID="lblPassanswer" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>用户状态：</th>
		<td>  
            <asp:Label ID="lblStatus" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>上线id：</th>
		<td>  
            <asp:Label ID="lblAskjoinID" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>等级：</th>
		<td>  
            <asp:Label ID="lblLevel" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>积分：</th>
		<td>  
            <asp:Label ID="lblScore" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>余额：</th>
		<td>  
            <asp:Label ID="lblMoney" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>是否vip：</th>
		<td>  
            <asp:Label ID="lblIsVip" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>扩展1：</th>
		<td>  
            <asp:Label ID="lblExt1" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>扩展2：</th>
		<td>  
            <asp:Label ID="lblExt2" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>扩展3：</th>
		<td>  
            <asp:Label ID="lblExt3" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>扩展4：</th>
		<td>  
            <asp:Label ID="lblExt4" runat="server" ></asp:Label></td>
	</tr>
</table>
</div>
<!-- 查看结束 -->


</div>
    </form>
</body>
</html>

